package com.itasura.proxy;

/**
 * @author sailor wang
 * @date 2018/11/21 8:02 PM
 * @description
 */
public class App {
    public static void main(String[] args) {
        SelfRentHouse rentHouse = new SelfRentHouse();
        rentHouse.rentHouse();

        ProxyRentHouse proxyRentHouse = new ProxyRentHouse(rentHouse);
        proxyRentHouse.rentHouse();

    }
}